package com.goblin.model.film.service;

import com.goblin.common.response.PageHelper;
import com.goblin.common.response.Paged;
import com.goblin.model.film.po.Comment;
import com.goblin.model.film.repository.CommentRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentServiceImpl implements CommentService {

	@Autowired
	private CommentRepository commentRepository;

	private static final Logger logger = LoggerFactory
			.getLogger(CommentServiceImpl.class);

	@Override
	public Paged<Comment> paged(PageHelper pageable, Integer id) {
		return this.commentRepository.paged(pageable, id);
	}

}
